b14142a30af4e1601882d19a2810d919fc115391,fragmentation/src/main/java/me/yokeyword/fragmentation/SupportFragment.java,SupportFragment,onDetach,#,843

Before Change


    @Override
    public void onDetach() {
        super.onDetach();
        if (_mActivity != null) {
            _mActivity.dispatchFragmentLifecycle(LifecycleHelper.LIFECYLCE_ONDETACH, SupportFragment.this);
        }
    }
}

After Change


    @Override
    public void onDetach() {
        super.onDetach();
        dispatchFragmentLifecycle(LifecycleHelper.LIFECYLCE_ONDETACH, null, false);
    }

    private void dispatchFragmentLifecycle(int lifecycle, Bundle bundle, boolean visible) {